﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("SalesMan")]
    public partial class SalesMan
    {
        public SalesMan()
        {


        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// Desc:业务员工号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SalesManCode { get; set; }

        /// <summary>
        /// Desc:业务员名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SalesManName { get; set; }

        public string SalesScore { get; set; }
        /// <summary>
        /// Desc:Mac1
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SalesManMac1 { get; set; }

        /// <summary>
        /// Desc:Mac2
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SalesManMac2 { get; set; }

        /// <summary>
        /// Desc:业务员手机号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SalesManPhone { get; set; }

        /// <summary>
        /// Desc:业务员密码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SalesManPass { get; set; }
        /// <summary>
        /// 业务员城市ID
        /// </summary>
        public double? SalesManCityID { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SalesManMd5Pass { get; set; }

       public int SalesManOrgID{get;set;}

        [SugarColumn(IsIgnore = true)]
        public List<CustomerMain> customerMainList { get; set; }

        [SugarColumn(IsIgnore = true)]
        public int TotalCustomerPotential { get; set; }

        [SugarColumn(IsIgnore = true)]
        public List<CustomerMain> deadcustomerMainList { get; set; }

        [SugarColumn(IsIgnore = true)]
        public City City { get; set; }

    }
}
